package com.tl.sun.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by apple on 17/8/15.
 */

public class PackageEntity implements Serializable {
    /**
     * id : 6
     * code : one
     * pak_type : senior
     * name : 按月购买
     * default : true
     * is_show : true
     * show_num : true
     * show_terminal : false
     * desc : 1月使用期限|可用安卓和IOS|高级线路|一个终端在线
     * type : month
     * value : 1
     * show_price : 180.00
     * origin_price : 280
     * price : 180.00
     * status : 1
     * sort : 1
     */

    private int id;
    private String code;
    @SerializedName("pak_type")
    private String pakType;
    private String name;
    @SerializedName("default")
    private String defaultX;
    @SerializedName("is_show")
    private String isShow;
    @SerializedName("show_num")
    private String showNum;
    @SerializedName("show_terminal")
    private String showTerminal;
    private String desc;
    private String type;
    private int value;
    @SerializedName("show_price")
    private String showPrice;
    @SerializedName("origin_price")
    private String originPrice;
    private String price;
    private int status;
    private int sort;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPakType() {
        return pakType;
    }

    public void setPakType(String pakType) {
        this.pakType = pakType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDefaultX() {
        return defaultX;
    }

    public void setDefaultX(String defaultX) {
        this.defaultX = defaultX;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public String getShowNum() {
        return showNum;
    }

    public void setShowNum(String showNum) {
        this.showNum = showNum;
    }

    public String getShowTerminal() {
        return showTerminal;
    }

    public void setShowTerminal(String showTerminal) {
        this.showTerminal = showTerminal;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getShowPrice() {
        return showPrice;
    }

    public void setShowPrice(String showPrice) {
        this.showPrice = showPrice;
    }

    public String getOriginPrice() {
        return originPrice;
    }

    public void setOriginPrice(String originPrice) {
        this.originPrice = originPrice;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }


    @Override
    public String toString() {
        return "PackageEntity{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", pakType='" + pakType + '\'' +
                ", name='" + name + '\'' +
                ", defaultX='" + defaultX + '\'' +
                ", isShow='" + isShow + '\'' +
                ", showNum='" + showNum + '\'' +
                ", showTerminal='" + showTerminal + '\'' +
                ", desc='" + desc + '\'' +
                ", type='" + type + '\'' +
                ", value=" + value +
                ", showPrice='" + showPrice + '\'' +
                ", originPrice='" + originPrice + '\'' +
                ", price='" + price + '\'' +
                ", status=" + status +
                ", sort=" + sort +
                '}';
    }
}
